﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SlaughterItem.Common.Domains.Detection
{
    /// <summary>
    /// 检疫生猪
    /// </summary>
    public class QuarantinePigData
    {
        /// <summary>
        /// 检疫生猪ID
        /// </summary>
        [Key]
        public int QuarantinePigId {  get; set; }
        /// <summary>
        /// 检疫生猪名称
        /// </summary>
        public string QuarantinePigName { get; set; }
        /// <summary>
        /// 进场登记编号
        /// </summary>
        [StringLength(50)]
        public string CheckInNo { get; set; }
        /// <summary>
        /// 供应商/养殖户 外健
        /// </summary>
        public int SupplierId { get; set; }
        /// <summary>
        /// 产地
        /// </summary>
        [StringLength(100)]
        public string OriginAddr { get; set; }
        /// <summary>
        /// 是否通过审核
        /// </summary>
        public bool IsDataQuarantinePig { get; set; }=false;
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsQuarantinePig {  get; set; }  
    }
}
